﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="web._Default" %>
<%@ Register src="usercontrol/head.ascx" tagname="head" tagprefix="uc1" %>
<%@ Register src="usercontrol/foot.ascx" tagname="foot" tagprefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="head2" runat="server">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<title>洪源木门</title>
</head>
<body>
    <form id="form1" runat="server">
<center>
  <uc1:head ID="head1" runat="server" />
  <div class="width">
    <div class="width3" style=" text-align:left">
    <div class="width3_1">
      <div class="width3_1"><div class="width3_1"><img height="40" alt="" width="237" src="images/index/shangchendongtai/scgt_01.gif" /></div>
<div class="width3_1"><img height="11" alt="" width="237" src="images/index/shangchendongtai/scgt_02.gif" /></div>
<div style="background: url(images/index/shangchendongtai/scgt_03.gif); float: left; width: 237px">
<div style="height: 225px">
  <asp:Repeater ID="Repeater3" runat="server">
    <ItemTemplate>
    <div class="news_1" style="padding-left:5px;"><img height="9" alt="" width="31" align="absMiddle" src="images/index/shangchendongtai/noticelabel.gif" />&nbsp;&nbsp;<a class="new1_1" target="_blank" href="/newsdetail.aspx?id=<%#Eval("newsId") %>&typeid=<%#Eval("newsType") %>"><%# Common.StringHelper.CutString(Eval("newsTitle").ToString(),24) %></a></div>
    </ItemTemplate>
  </asp:Repeater>
  <table width="0%" border="0" cellpadding="0" cellspacing="0" class="0">
  <asp:Repeater ID="Repeater4" runat="server">
    <ItemTemplate>
     <tr><td><div class="news_1" style="padding-left:5px;"><img height="9" alt="" width="31" src="images/index/shangchendongtai/scgt_news.gif" />　<a class="new1_2" href="/newsdetail.aspx?id=<%#Eval("newsId") %>&typeid=<%#Eval("newsType") %>"><%# Common.StringHelper.CutString(Eval("newsTitle").ToString(),24) %></a></div></td></tr>
    </ItemTemplate>
  </asp:Repeater>
 </table>
 </div>
</div>
<div class="width3_1"><img height="9" alt="" width="237" src="images/index/shangchendongtai/scgt_04.gif" /></div></div>
      <div class="width3_1">
        <div style="padding-top:7px;"><% if (Session["user"] == null)
                                         { %>
        <div id="blogin"><div style="background: url(Images/index/zhuce.gif); width: 237px; height: 151px">
    <div style="padding-right: 0px; padding-left: 20px; padding-bottom: 0px; padding-top: 40px; text-align: left">
        用户名： <label><input class="input1_1" id="username" name="username" value="" type="text" runat="server" /> </label><br />
        密　码： <input class="input1_1" id="password" type="password" name="password" runat="server" /> <br />
    </div>
    <div style="padding-right: 0px; padding-left: 20px; padding-bottom: 0px; padding-top: 10px; text-align: left">
        <asp:ImageButton ID="ImageButton1" height="19" width="58" 
            ImageUrl="Images/index/zc.gif" runat="server" onclick="ImageButton1_Click" /> <a target="_blank" href="/register.aspx"><img height="19" width="55" alt="" src="Images/index/zc_1.gif" /></a> 
        </div>
</div></div><%}
                                         else
                                         { %>
<div id="alogin"><div style="background: url(Images/index/zhuce.gif); width: 237px; height: 151px">
<div style="padding-right: 0px; padding-left: 20px; padding-bottom: 0px; padding-top: 40px; text-align: left">
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
    <tbody>
        <tr>
            <td align="left" height="90">欢迎会员：<strong><% if (Session["user"] != null) Response.Write(((Domain.User)Session["user"]).trueName);%></strong><br />
            <br />
                您订购的木门共&nbsp;<b><% = menlist.Count %></b>&nbsp;种<br />
                您订购的口共&nbsp;<b><% = koulist.Count %></b>&nbsp;种<br />
                您订购的其他配件&nbsp;<b><% = otherlist.Count %></b>&nbsp;种<br /><br />
            <a target="_blank" href="/member">会员管理</a> | <a target="_blank" href="/cart.aspx">
                购物车</a> | <a href="/logout.aspx">注销</a> |</td>
        </tr>
    </tbody>
</table>
</div>
</div></div><%} %>
</div>
      </div>
    </div>
        <div style="width:670px;float:right">
        <script type="text/javascript">
        var pic_width = 670; //图片宽度
        var pic_height =445; //图片高度
        var button_pos = 4; //按扭位置 1左 2右 3上 4下
        var stop_time = 4000; //图片停留时间(1000为1秒钟)
        var show_text = 0; //是否显示文字标签 1显示 0不显示
        var txtcolor = "000000"; //文字色
        var bgcolor = "FFFFFF"; //背景色
        var imag = new Array();
        var link = new Array();
        var text = new Array();
        <asp:Repeater ID="rptAD" runat="server">
        <ItemTemplate>
        imag[<%#Container.ItemIndex+1 %>] = "<%#Eval("imagePath")%>";
        link[<%#Container.ItemIndex+1 %>] = "<%#Eval("linkUrl")%>";
        text[<%#Container.ItemIndex+1 %>] = "<%#Eval("description")%>";
        </ItemTemplate>
        </asp:Repeater>
        //可编辑内容结束
        var swf_height = show_text == 1 ? pic_height + 20 : pic_height;
        var pics = "", links = "", texts = "";
        for (var i = 1; i < imag.length; i++) {
        pics = pics + ("|" + imag[i]);
        links = links + ("|" + link[i]);
        texts = texts + ("|" + text[i]);
        }
        pics = pics.substring(1);
        links = links.substring(1);
        texts = texts.substring(1);
        document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cabversion=6,0,0,0" width="' + pic_width + '" height="' + swf_height + '">');
        document.write('<param name="movie" value="/lib/flash/hc360.swf">');
        document.write('<param name="quality" value="high"><param name="wmode" value="opaque">');
        document.write('<param name="FlashVars" value="pics=' + pics + '&links=' + links + '&texts=' + texts + '&pic_width=' + pic_width + '&pic_height=' + pic_height + '&show_text=' + show_text + '&txtcolor=' + txtcolor + '&bgcolor=' + bgcolor + '&button_pos=' + button_pos + '&stop_time=' + stop_time + '">');
        document.write('<embed src="/lib/flash/hc360.swf" FlashVars="pics=' + pics + '&links=' + links + '&texts=' + texts + '&pic_width=' + pic_width + '&pic_height=' + pic_height + '&show_text=' + show_text + '&txtcolor=' + txtcolor + '&bgcolor=' + bgcolor + '&button_pos=' + button_pos + '&stop_time=' + stop_time + '" quality="high" width="' + pic_width + '" height="' + swf_height + '" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
        document.write('</object>');
        </script>
        </div>
       <%-- <div style="padding-top:0px; width:240px; float:right">
          <div style="width:237px; height:445px; background:url(Images/index/fahuotongzhi/fahuobj_1.jpg)">
            <div style="padding:30px 12px 0px 12px;"><div style="padding-top: 7px">
            <marquee scrollamount="1" scrolldelay="90" direction="up" width="100%" height="365">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="0">
            <asp:Repeater ID="rptSendMessage" runat="server">
            <ItemTemplate>
            <tr>
            <td><div style="padding-bottom: 7px; padding-top: 7px; border-bottom: #999999 1px dashed" align="left">
            <b><font color="#ff6600"><%#Eval("receiverName")%></font></b><br />
            您订单号为:<font color="#333333"><%#Eval("orderID")%></font><br />
            您的货品已由<font color="#333333"> <%#Eval("expressCorp")%></font> 公司<br />
            于 <font color="#333333"><%#Eval("sendtime","{0:yyyy-MM-dd}")%></font> 发出<br />
            货运单号为<font color="#333333"><%#Eval("billNo")%></font><br />
            请注意查收.<br />
            你的订单状态 <%#Eval("orderSchedule")%></div>
            </td>
            </tr>
            </ItemTemplate>
            </asp:Repeater>
            </table></marquee></div></div>
          </div>
        </div>--%>

</div></div>
  <div class="width0">
    
    <div class="width3_1_1" style="width:930px;">
    <div class="div1mshuxinlist" style="width:930px;">
    <div id="special_0">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="0"><tr>
    <asp:Repeater ID="repProductList" runat="server">
        <ItemTemplate>
        <%# ((Container.ItemIndex ) % 6) == 0 ? "<tr>" : ""%>
        <td><div align="center"><div style="padding-top: 8px"><a target="_blank" href="/productDetail.aspx?id=<%#Eval("productId") %>"><img alt="" border="0" src='/UploadFile/Picture/small/<%# (Eval("productImages")==null||Eval("productImages").ToString()=="")?"sorry.gif":Eval("productImages").ToString() %>' width='120' height='157'  /></a></div><div style="padding-bottom: 5px; padding-top: 5px"><img src='images/icon/newicon.gif'> <img src='images/icon/commendicon.gif'> <img src='images/icon/hoticon.gif'> </div><div style="padding-bottom: 2px"><a target="_blank" href="/productDetail.aspx?id=<%#Eval("productId") %>">
            <%#Eval("productName").ToString() == "" ? "&nbsp;" : Eval("productName")%></a></div><div style="padding-bottom: 2px"><a target="_blank" href="/productDetail.aspx?id=<%#Eval("productId") %>">
                <%#Eval("productModelNO") %></a></div><div style="padding-bottom: 5px"><font style="font-weight: bold; font-size: 11px; color: #ff9900; font-family: Verdana, Arial, Helvetica, sans-serif">
                <%#Eval("memberPrice", "{0:c}")%></font></div></div>
        </td>
        <%# ((Container.ItemIndex+1 ) % 6) == 0 ? "</tr>" : ""%>
        </ItemTemplate>
    </asp:Repeater>
</table>
    </div>
</div>
    </div>
    <br clear="all" />
  </div>
  <div class="wuzhang1_1">
    <div style="width:310px; padding-top:5px; float:left;" align="center">
      <div style="width:300px;"><img src="images/index/xinwen/zuixin.gif" width="300" height="40" /></div>
      <div style="width:300px;" align="center">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="0">
      <asp:Repeater ID="titleRepeater" runat="server">
        <ItemTemplate>
        <tr>
        <td><div class="wuzhang1_2" align="left">　<img height="3" alt="" width="3" align="absMiddle" src="images/index/xinwen/001.gif" />　<a target="_blank" href="/newsdetail.aspx?id=<%#Eval("newsId") %>&typeid=<%#Eval("newsType") %>"><%# Common.StringHelper.CutString(Eval("newsTitle").ToString(),40) %></a></div></td>
        </tr>
        </ItemTemplate>
      </asp:Repeater>
      </table></div>
    </div>
    <div style="width:308px; padding-top:5px; float:left;" align="center">
      <div style="width:300px;"><img src="images/index/xinwen/tuijian.gif" width="300" height="40" /></div>
      <div style="width:300px;" align="center">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="0">
      <asp:Repeater ID="Repeater1" runat="server">
        <ItemTemplate>
        <tr>
        <td><div class="wuzhang1_2" align="left">　<img height="3" alt="" width="3" align="absMiddle" src="images/index/xinwen/001.gif" />　<a target="_blank" href="/newsdetail.aspx?id=<%#Eval("newsId") %>&typeid=<%#Eval("newsType") %>"><%# Common.StringHelper.CutString(Eval("newsTitle").ToString(),40) %></a></div></td>
        </tr>
        </ItemTemplate>
      </asp:Repeater>
      </table></div>
    </div>
    <div style="width:310px; padding-top:5px; float:right;" align="center">
      <div style="width:300px;"><img src="images/index/xinwen/redian.gif" width="300" height="40" /></div>
      <div style="width:300px;" align="center">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="0">
      <asp:Repeater ID="Repeater2" runat="server">
        <ItemTemplate>
        <tr>
        <td><div class="wuzhang1_2" align="left">　<img height="3" alt="" width="3" align="absMiddle" src="images/index/xinwen/001.gif" />　<a target="_blank" href="/newsdetail.aspx?id=<%#Eval("newsId") %>&typeid=<%#Eval("newsType") %>"><%# Common.StringHelper.CutString(Eval("newsTitle").ToString(),40) %></a></div></td>
        </tr>
        </ItemTemplate>
      </asp:Repeater>
      </table>
      </div>
    </div>
  </div>

  <uc2:foot ID="foot1" runat="server" />
</center>
</form>
<script src="js_floatqq.aspx" type="text/javascript"></script>
</body>
</html>